package com.wangan.wanganpush.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.sql.Timestamp;


@Entity(name = "wangan_vehicle")
public class Vehicle extends BaseEntity{

    //C030009    车辆ID，厂商内部给每辆车设定的唯一编号
    private String vehicleId;

    //C030002    车牌号
    private String vehiclePlate;

    //C030003    车架号
    private String vinNo;

    //C030004    车辆发动机号
    private String vehicleEngineNo;

    //C010002    车辆品牌
    private String vehicleBrand;

    //C010003    车辆型号
    private String vehicleModel;

    //C010004    车辆颜
    private String vehicleColor;

    //C030010    车辆类型,如：小型客车、大型客车等
    private String vehicleType;

    //C030011    车辆谍照" ismedia="true"
    private String vehicleSpy;

    //C030012    车辆营运证件号码
    private String vehicleBusiness;

    //C030013    车辆保险单图片，带有图片文件体，此字段填文件名，该文件体和xml一同位于zip文件中" ismedia="true"
    private String vehicleInsurancePhoto;

    //C030014    车辆行驶证图片，带有图片文件体，此字段填文件名，该文件体和xml一同位于zip文件中" ismedia="true"
    private String vehicleLicense;

    //E010002    车辆所属公司
    private String vehicleOfCompany;


    //B030002    车辆所在城市
    private String vehicleOfCity;

    //H010003    动作类型，字典码 上线=02，下线=03，未知=99
    private String actionType;

    //I010005    动作时间
    private String  actionTime;


    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getVehiclePlate() {
        return vehiclePlate;
    }

    public void setVehiclePlate(String vehiclePlate) {
        this.vehiclePlate = vehiclePlate;
    }

    public String getVinNo() {
        return vinNo;
    }

    public void setVinNo(String vinNo) {
        this.vinNo = vinNo;
    }

    public String getVehicleEngineNo() {
        return vehicleEngineNo;
    }

    public void setVehicleEngineNo(String vehicleEngineNo) {
        this.vehicleEngineNo = vehicleEngineNo;
    }

    public String getVehicleBrand() {
        return vehicleBrand;
    }

    public void setVehicleBrand(String vehicleBrand) {
        this.vehicleBrand = vehicleBrand;
    }

    public String getVehicleModel() {
        return vehicleModel;
    }

    public void setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }

    public String getVehicleColor() {
        return vehicleColor;
    }

    public void setVehicleColor(String vehicleColor) {
        this.vehicleColor = vehicleColor;
    }

    public String getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType;
    }

    public String getVehicleSpy() {
        return vehicleSpy;
    }

    public void setVehicleSpy(String vehicleSpy) {
        this.vehicleSpy = vehicleSpy;
    }

    public String getVehicleBusiness() {
        return vehicleBusiness;
    }

    public void setVehicleBusiness(String vehicleBusiness) {
        this.vehicleBusiness = vehicleBusiness;
    }

    public String getVehicleInsurancePhoto() {
        return vehicleInsurancePhoto;
    }

    public void setVehicleInsurancePhoto(String vehicleInsurancePhoto) {
        this.vehicleInsurancePhoto = vehicleInsurancePhoto;
    }

    public String getVehicleLicense() {
        return vehicleLicense;
    }

    public void setVehicleLicense(String vehicleLicense) {
        this.vehicleLicense = vehicleLicense;
    }

    public String getVehicleOfCompany() {
        return vehicleOfCompany;
    }

    public void setVehicleOfCompany(String vehicleOfCompany) {
        this.vehicleOfCompany = vehicleOfCompany;
    }

    public String getVehicleOfCity() {
        return vehicleOfCity;
    }

    public void setVehicleOfCity(String vehicleOfCity) {
        this.vehicleOfCity = vehicleOfCity;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getActionTime() {
        return actionTime;
    }

    public void setActionTime(String actionTime) {
        this.actionTime = actionTime;
    }

    @Override
    public String toString() {
        return "Vehicle{" +
                "vehicleId='" + vehicleId + '\'' +
                ", vehiclePlate='" + vehiclePlate + '\'' +
                ", vinNo='" + vinNo + '\'' +
                ", vehicleEngineNo='" + vehicleEngineNo + '\'' +
                ", vehicleBrand='" + vehicleBrand + '\'' +
                ", vehicleModel='" + vehicleModel + '\'' +
                ", vehicleColor='" + vehicleColor + '\'' +
                ", vehicleType='" + vehicleType + '\'' +
                ", vehicleSpy='" + vehicleSpy + '\'' +
                ", vehicleBusiness='" + vehicleBusiness + '\'' +
                ", vehicleInsurancePhoto='" + vehicleInsurancePhoto + '\'' +
                ", vehicleLicense='" + vehicleLicense + '\'' +
                ", vehicleOfCompany='" + vehicleOfCompany + '\'' +
                ", vehicleOfCity='" + vehicleOfCity + '\'' +
                ", actionType='" + actionType + '\'' +
                ", actionTime='" + actionTime + '\'' +
                '}';
    }
}
